﻿<%@ Page Language="C#" MasterPageFile="~/Settings/SettingsMaster.master"  AutoEventWireup="true" Inherits="Settings.Sandbox.DataDocTest" Title="DataDoc Test" Codebehind="DataDocTest.aspx.cs" %>

<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
   
Method: <asp:DropDownList ID="drpList" runat="server" OnSelectedIndexChanged="drpList_Changed" AutoPostBack="true" />

<br />        
Parameters...
<asp:Repeater ID="rptParams" runat="server" OnItemDataBound="rptParams_ItemBound">
<HeaderTemplate>
    <table cellpadding="0" CellSpacing="0" border="1">
</HeaderTemplate>
<ItemTemplate>
    <tr>
        <td width="25%" align="right"><%# DataBinder.Eval(Container.DataItem, "Name") %></td>
                        
        <td width="25%" align="right"><asp:Literal ID="litType" runat="server" /></td>
        <td width="50%"><asp:TextBox ID="txtValue" runat="server" /> </td>

    </tr>
</ItemTemplate>
<FooterTemplate>
    </table>
</FooterTemplate>
</asp:Repeater>
<asp:Button ID="btnSubmit" runat="server" Text="Submit" OnClick="btnSubmit_Click" />
<hr />

Result
<pre>
    <asp:Literal ID="litOut" runat="server" />
</pre>   

</asp:Content>